package com.demo.service;

import com.demo.domain.Shangping;

import java.util.List;

/**
 * @Version 2019
 * @Author:kele
 * @Date:2020/4/19
 * @Content:
 */
public interface ShangPingService {
    //保存
    void saveShangping(Shangping shangping);

    //查找所有
    List<Shangping> find();

    //通过id查
    Shangping findOne(int s_id);

    //删除
    void delete(Shangping s);

    //修改
    void update(Shangping shangping);

    //多条件查询
    List<Shangping> findMoreCondition(Shangping shangping);
}
